package com.cjp.service;


import com.baomidou.mybatisplus.extension.service.IService;
import com.cjp.pojo.Article;
import com.cjp.pojo.PageBean;
import com.cjp.pojo.dto.ArticleAddDTO;
import com.cjp.pojo.dto.ArticlePageQueryDTO;
import com.cjp.pojo.dto.ArticleUpdateDTO;
import com.cjp.pojo.vo.ArticleVO;

public interface IArticleService extends IService<Article> {
    void addArticle(ArticleAddDTO articleAddDTO);

    void updateArticle(ArticleUpdateDTO articleUpdateDTO);

    PageBean<ArticleVO> pageQueryArticle(Integer pageNum, Integer pageSize, Long categoryId, String state);
}
